External Functions Cannot Use Objects as Parameters Error
This error occurs if you Declare an external function and try to specify that one of its parameters is an object. When passing a MemoryBlock to a Declare, use Ptr instead. When passing a window to a Declare, use WindowPtr instead.